package com.studentsystem.dataobject;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * (Course)实体类
 */
public class CourseDO implements Serializable {
    private static final long serialVersionUID = -22510959839056771L;
    /**
     * 课程id
     */
    private Long id;
    /**
     * 课程名字
     */
    private String name;
    /**
     * 上课星期几
     */
    private Integer weekday;
    /**
     * 课程具体节数
     */
    private String number;
    /**
     * 开始周数
     */
    private Integer weekStart;
    /**
     * 结束周数
     */
    private Integer weekEnd;
    /**
     * 上课地点
     */
    private String place;
    /**
     * 上课教师名字
     */
    private String teacherName;
    /**
     * 年份
     */
    private Integer year;
    /**
     * 学期(0表示上学期，1表示下学期)
     */
    private Integer term;
    /**
     * 0为选修，1为必修
     */
    private Integer type;
    /**
     * 上课班级的集合
     */
    private String classes;
    /**
     * 学分
     */
    private Double credit;
    /**
     * 停课周数
     */
    private String suspendWeek;
    /**
     * 年级
     */
    private Integer grade;
    /**
     * 创建时间
     */
    private LocalDateTime createdTime;
    /**
     * 最后一次修改时间
     */
    private LocalDateTime modifiedTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getWeekday() {
        return weekday;
    }

    public void setWeekday(Integer weekday) {
        this.weekday = weekday;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getTerm() {
        return term;
    }

    public void setTerm(Integer term) {
        this.term = term;
    }

    public Integer getWeekStart() {
        return weekStart;
    }

    public void setWeekStart(Integer weekPeriod) {
        this.weekStart = weekPeriod;
    }

    public Integer getWeekEnd() {
        return weekEnd;
    }

    public void setWeekEnd(Integer weekEnd) {
        this.weekEnd = weekEnd;
    }

    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getSuspendWeek() {
        return suspendWeek;
    }

    public void setSuspendWeek(String suspendWeek) {
        this.suspendWeek = suspendWeek;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public LocalDateTime getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(LocalDateTime modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

}